package main

import "fmt"

func main() {

	// 演示一个key-value的value是map的案例
	// 比如：我们要存放3个学生信息，每个学生有name和sex信息

	studentMap := make(map[string]map[string]string) 
	studentMap["stu01"] = make(map[string]string, 2)
	studentMap["stu01"]["name"] = "tom"
	studentMap["stu01"]["sex"] = "男"

	studentMap["stu02"] = make(map[string]string, 2)
	studentMap["stu02"]["name"] = "tom"
	studentMap["stu02"]["sex"] = "男"


	fmt.Println(studentMap)



}